package com.hs.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.hs.entity.dto.Notice;
import com.hs.entity.dto.Order;

import java.util.List;

public interface OrderService extends IService<Order> {
    PageInfo<Order> selectOrderList(Integer currentNum, String keywords);

    PageInfo<Order> selectOrderListByUser(Integer currentNum, String keywords, Integer userId);

    PageInfo<Order> selectOrderListByTeamId(Integer currentNum, String keywords, Integer teamId);


    void updateOrderStatus(Integer id, Integer status);

    List<Order> selectAllOrderListByTeamId(Integer teamId);

    List<Order> selectAllOrderList();
}
